/*
 * @Descripttion: 
 * @version: 
 * @Author: 
 * @Date: 2019-09-20 15:52:46
 */
export const getters = {
  getIsCollapse: state => state.isCollapse,
  getIsHomeTab: state => state.isHomeTab,
  keepLiveInclude: state => state.keepLiveInclude,
  getIsOverFlowTabs: state => state.isOverFlow,
  getTabs: state => state.tabs,
  // getSinger: state => state.singer

  getStep: state => state.step,

}


/**
 *
 *
 * 在 computed 中使用
 *
 * ...mapGetters([
 'getStep'
 ])
 *
 OR

 mapGetters({
    // 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
    doneCount: 'doneTodosCount'
})
 *
 */
